package com.accloud.cloudservice;

import com.accloud.service.ACException;

/* access modifiers changed from: package-private */
public class VoidEventCallback extends VoidCallback {
    private final VoidCallback callback;
    private final ACEvent event;

    VoidEventCallback(ACEvent event2, VoidCallback callback2) {
        this.event = event2;
        this.callback = callback2;
    }

    @Override // com.accloud.cloudservice.BaseCallback
    public void error(ACException e) {
        this.event.error(e);
        AC.sEventManager.track(this.event);
        this.callback.error(e);
    }

    @Override // com.accloud.cloudservice.VoidCallback
    public void success() {
        AC.sEventManager.track(this.event);
        this.callback.success();
    }
}
